package com.wrs.examsystem.service;

import com.wrs.examsystem.entity.Answer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wrs.examsystem.entity.Result.R;
import com.wrs.examsystem.entity.bean.CorrectBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王荣升
 * @since 2024-05-15
 */
public interface AnswerService extends IService<Answer> {

    public R findGradeByStudentNumber(String studentNumber,Integer testId);

    public R updateGrandByStudentId(Integer topicId,Integer StudentId);
    public R correct(CorrectBean correctBean);

    public R submitTest(List<Answer> answerList);
}
